<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich" >
         
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <link href="css/default.css" rel="stylesheet" type="text/css" />
      <title>#{dWRFD1.dWRFD1Title}</title>
    </head>

    <f:view>
    
    <body>
    
      <img src="images/DukeGuitar.jpg" class="floatLeft" 
                height="82" width="96"/>

      <h1>#{dWRFD1.dWRFD1Title} #{dWRFD1.dWRFD1Result}</h1> 
      <br clear="all" ></br>

      <table width="100%">
        <tr><td style="background-color: #200070" height="5"></td></tr>
      </table>
      <br clear="all" ></br>

    <h:form method="post" >
       <p>
       <rich:tabPanel switchType="client" >
        <rich:tab label="#{dWRFD1.info}">
          #{dWRFD1.resultText}
        </rich:tab>

        <rich:tab label="#{dWRFD1.result}">
          <h:panelGrid columns="1" width="50%">
            <rich:simpleTogglePanel switchType="ajax" 
               label="#{dWRFD1.calComp} #{dWRFD1.value}" opened="false" >
              #{dWRFD1Handler.selectedDate} 
            </rich:simpleTogglePanel>
            <rich:simpleTogglePanel switchType="ajax" 
               label="#{dWRFD1.lsComp} #{dWRFD1.value}" opened="false" >
              #{dWRFD1Handler.orderByTarget} 
            </rich:simpleTogglePanel>
            <rich:simpleTogglePanel switchType="ajax" 
               label="#{dWRFD1.sbComp} #{dWRFD1.value}" opened="false" >
              #{dWRFD1Handler.city} 
            </rich:simpleTogglePanel>
            <rich:simpleTogglePanel switchType="ajax" 
               label="#{dWRFD1.face}" opened="false" >
              <img src="images/myphoto.jpg" 
                 height="80" width="64"/>
            </rich:simpleTogglePanel>

          </h:panelGrid> 
        </rich:tab>
       </rich:tabPanel>
       </p>

	<h:commandButton value="#{dWRFD1.edit}" 
         action="#{dWRFD1Handler.processResult}" style="width: 6em" />

      </h:form>                   

    </body>
    
    </f:view>    
</html>